package io.github.lee.repository.qb.domain

data class Response<T>(
    val code: Int,
    val msg: String?,
    val data: T?
) {
    val isSuccess: Boolean
        get() = code in 200..299

}